<+b_dialog dialog_title="Copy Settings" dw=990  dialog_space=1 dialog_nogroup=1>

<img src=images/button_select_all.png save=selectAll>
<img src=images/button_select_none.png save=selectNone>
<img src=images/button_expand.png save=expand>
<img src=images/button_collapse.png save=collapse>
<img src=images/button_sort_slide.png save=sortSlide>
<img src=images/button_sort_layer.png save=sortLayer>
<img src=images/button_sort_caption.png save=sortCaption>
<img src=images/button_sort_keyframe.png save=sortKeyframe>

<#if copySlide>
	<assign srcTitle="From Slide">
	<assign destTitle="To Slides">
	<assign groupwidth=0>
	<assign allowgrouping=0>
<#endif>
<#if copyLayer>
	<assign srcTitle="From Layer">
	<assign destTitle="To Layers">
	<assign groupwidth=120>
	<assign allowgrouping=1>
<#endif>
<#if copyLayerKeyframe>
	<assign srcTitle="From Keyframe">
	<assign destTitle="To Keyframes">
	<assign groupwidth=196>
	<assign allowgrouping=1>
<#endif>
<#if copyCaption>
	<assign srcTitle="From Caption">
	<assign destTitle="To Captions">
	<assign groupwidth=120>
	<assign allowgrouping=1>
<#endif>
<#if copyCaptionKeyframe>
	<assign srcTitle="From Keyframe">
	<assign destTitle="To Keyframes">
	<assign groupwidth=196>
	<assign allowgrouping=1>
<#endif>

<assign bw1=370>
<table border=0 cellspacing=0 cellpadding=0>
<tr>
	<td width=#bw1+2>

			<font size=+1><variable name=srcTitle></variable></font><br>
			<img height=#ds><br>
			<#if allowgrouping>
				<table cellpadding=#ds>
				<tr>
					<td bgcolor=#colorToolbar width=#bw1>
						<center>
						<table>
						<tr>
							<td width=#bw1-120-#groupwidth-#ds align=right>
								<img height=3><br>
								<font color=#colorIcon>Group By</font>
							</td>
							<td width=#ds></td>
							<td width=#groupwidth>

								<#if copyLayer>
									<input type=button name=orderSlideSrc:b toggle=1 toolbar=1 width=60 height=20 xpar=#sortSlide xparToggle=#sortSlide  grayxpar=#sortSlide img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey imgToggle=#fake toggleColor=#colorSelection bgcolor=#colorToolbar  nofade=1 alt="Sort by slide" ascent=20>
									<input type=button name=orderLayerSrc:b toggle=1 toolbar=1 width=60 height=20 xpar=#sortLayer xparToggle=#sortLayer  grayxpar=#sortLayer img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey imgToggle=#fake toggleColor=#colorSelection bgcolor=#colorToolbar  nofade=1 alt="Sort by layer" ascent=20>
								<#elseif copyLayerKeyframe>
									<input type=button name=orderSlideSrc:b toggle=1 toolbar=1 width=60 height=20 xpar=#sortSlide xparToggle=#sortSlide  grayxpar=#sortSlide img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey imgToggle=#fake toggleColor=#colorSelection bgcolor=#colorToolbar  nofade=1 alt="Sort by slide" ascent=20>
									<input type=button name=orderLayerSrc:b toggle=1 toolbar=1 width=60 height=20 xpar=#sortLayer xparToggle=#sortLayer  grayxpar=#sortLayer img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey imgToggle=#fake toggleColor=#colorSelection bgcolor=#colorToolbar  nofade=1 alt="Sort by layer" ascent=20>
									<img width=#ds>
									<input type=button name=orderKeyframeSrc:b toggle=1 toolbar=1 width=68 height=20 xpar=#sortKeyframe xparToggle=#sortKeyframe  grayxpar=#sortLayer img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey imgToggle=#fake toggleColor=#colorSelection bgcolor=#colorToolbar  nofade=1 alt="Sort by keyframe" ascent=20>
								<#elseif copyCaption>
									<input type=button name=orderSlideSrc:b toggle=1 toolbar=1 width=60 height=20 xpar=#sortSlide xparToggle=#sortSlide  grayxpar=#sortSlide img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey imgToggle=#fake toggleColor=#colorSelection bgcolor=#colorToolbar nofade=1 alt="Sort by slide" ascent=20>
									<input type=button name=orderCaptionSrc:b toggle=1 toolbar=1 width=60 height=20 xpar=#sortCaption xparToggle=#sortCaption  grayxpar=#sortLayer img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey imgToggle=#fake toggleColor=#colorSelection bgcolor=#colorToolbar nofade=1 alt="Sort by caption" ascent=20>
								<#elseif copyCaptionKeyframe>
									<input type=button name=orderSlideSrc:b toggle=1 toolbar=1 width=60 height=20 xpar=#sortSlide xparToggle=#sortSlide  grayxpar=#sortSlide img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey imgToggle=#fake toggleColor=#colorSelection bgcolor=#colorToolbar nofade=1 alt="Sort by slide" ascent=20>
									<input type=button name=orderCaptionSrc:b toggle=1 toolbar=1 width=60 height=20 xpar=#sortCaption xparToggle=#sortCaption  grayxpar=#sortLayer img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey imgToggle=#fake toggleColor=#colorSelection bgcolor=#colorToolbar nofade=1 alt="Sort by caption" ascent=20>
									<img width=#ds>
									<input type=button name=orderCaptionKeyframeSrc:b toggle=1 toolbar=1 width=68 height=20 xpar=#sortKeyframe xparToggle=#sortKeyframe  grayxpar=#sortLayer img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey imgToggle=#fake toggleColor=#colorSelection bgcolor=#colorToolbar  nofade=1 alt="Sort by keyframe" ascent=20>
								<#endif>
							</td>
						</tr>
						</table>
						</center>

					</td>
				</tr>
				</table>
				<img width=#bw1 height=1 bgcolor=#colorFrame><br>
			<#endif>
			
			<input type=custom name=source width=#bw1 height=555><br>
			<img width=#bw1 height=1 bgcolor=#colorFrame><br>
			<table cellpadding=#ds>
			<tr>
				<td bgcolor=#colorToolbar align=left width=#bw1>
					<input type=button name=expandAllSrc toolbar=1 width=60 height=20 xpar=#expand grayxpar=#expand img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar  nofade=1 alt="Expand all" ascent=20>
					<input type=button name=collapseAllSrc toolbar=1 width=60 height=20 xpar=#collapse grayxpar=#collapse img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar   nofade=1 alt="Collapse none" ascent=20>
				</td>
			</tr>
			</table>
	</td>
	<td width=#ds></td>
	<td width=204>
		<font size=+1>What to Copy</font><br>
		<img height=#ds><br>
		<#if allowgrouping>
			<input type=listbox name=settings ownerdraw=1 singlesel=0 width=200 height=629>
		<#else>
			<input type=listbox name=settings ownerdraw=1 singlesel=0 width=200 height=592>
		<#endif>
		
	</td>
	<td width=#ds></td>
	<td width=#bw1+2>
			<font size=+1><variable name=destTitle></variable></font><br>
			<img height=#ds><br>
			<#if allowgrouping>
				<table cellpadding=#ds>
				<tr>
					<td bgcolor=#colorToolbar width=#bw1>
						<center>
						<table>
						<tr>
							<td width=#bw1-120-#groupwidth-#ds align=right>
															<img height=3><br>
								Group By
							</td>
							<td width=#ds></td>
							<td width=#groupwidth>


								<#if copyLayer>
									<input type=button name=orderSlide:a toggle=1 toolbar=1 width=60 height=20 xpar=#sortSlide xparToggle=#sortSlide grayxpar=#sortSlide img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey imgToggle=#fake toggleColor=#colorSelection bgcolor=#colorToolbar nofade=1 alt="Sort by slide" ascent=20>
									<input type=button name=orderLayer:a toggle=1 toolbar=1 width=60 height=20 xpar=#sortLayer xparToggle=#sortLayer grayxpar=#sortLayer img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey imgToggle=#fake toggleColor=#colorSelection bgcolor=#colorToolbar nofade=1 alt="Sort by layer" ascent=20>
								<#elseif copyLayerKeyframe>
									<input type=button name=orderSlide:a toggle=1 toolbar=1 width=60 height=20 xpar=#sortSlide xparToggle=#sortSlide grayxpar=#sortSlide img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey imgToggle=#fake toggleColor=#colorSelection bgcolor=#colorToolbar nofade=1 alt="Sort by slide" ascent=20>
									<input type=button name=orderLayer:a toggle=1 toolbar=1 width=60 height=20 xpar=#sortLayer xparToggle=#sortLayer grayxpar=#sortLayer img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey imgToggle=#fake toggleColor=#colorSelection bgcolor=#colorToolbar nofade=1 alt="Sort by layer" ascent=20>
									<img width=#ds>
									<input type=button name=orderKeyframe:a toggle=1 toolbar=1 width=68 height=20 xpar=#sortKeyframe xparToggle=#sortKeyframe img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey imgToggle=#fake toggleColor=#colorSelection bgcolor=#colorToolbar nofade=1 alt="Sort by keyframe" ascent=20>
								<#elseif copyCaption>
									<input type=button name=orderSlide:a toggle=1 toolbar=1 width=60 height=20 xpar=#sortSlide xparToggle=#sortSlide img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey imgToggle=#fake toggleColor=#colorSelection bgcolor=#colorToolbar nofade=1 alt="Sort by slide" ascent=20>
									<input type=button name=orderCaption:a toggle=1 toolbar=1 width=60 height=20 xpar=#sortCaption xparToggle=#sortCaption grayxpar=#sortLayer img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey imgToggle=#fake toggleColor=#colorSelection bgcolor=#colorToolbar nofade=1 alt="Sort by caption" ascent=20>
								<#elseif copyCaptionKeyframe>
									<input type=button name=orderSlide:a toggle=1 toolbar=1 width=60 height=20 xpar=#sortSlide xparToggle=#sortSlide grayxpar=#sortSlide img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey imgToggle=#fake toggleColor=#colorSelection bgcolor=#colorToolbar nofade=1 alt="Sort by slide" ascent=20>
									<input type=button name=orderCaption:a toggle=1 toolbar=1 width=60 height=20 xpar=#sortCaption xparToggle=#sortCaption grayxpar=#sortLayer img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey imgToggle=#fake toggleColor=#colorSelection bgcolor=#colorToolbar nofade=1 alt="Sort by caption" ascent=20>
									<img width=#ds>
									<input type=button name=orderCaptionKeyframe:a toggle=1 toolbar=1 width=68 height=20 xpar=#sortKeyframe xparToggle=#sortKeyframe grayxpar=#sortLayer img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey imgToggle=#fake toggleColor=#colorSelection bgcolor=#colorToolbar nofade=1 alt="Sort by keyframe" ascent=20>
								<#endif>
							</td>
						</tr>
						</table>
						</center>
					</td>
				</tr>
				</table>
				<img width=#bw1 height=1 bgcolor=#colorFrame><br>
			<#endif>
						
			<input type=custom name=destination width=#bw1 height=555><br>
			<img width=#bw1 height=1 bgcolor=#colorFrame><br>
			<table cellpadding=#ds>
			<tr>
				<td width=200 bgcolor=#colorToolbar>
					<input type=button name=expandAll toolbar=1 width=60 height=20 xpar=#expand grayxpar=#expand img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar nofade=1 alt="Expand all" ascent=20>
					<input type=button name=collapseAll toolbar=1 width=60 height=20 xpar=#collapse grayxpar=#collapse img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar nofade=1 alt="Collapse none" ascent=20>
				<td width=#bw1-200 align=right bgcolor=#colorToolbar>
					<input type=button name=selectAll toolbar=1 width=60 height=20 xpar=#selectAll grayxpar=#selectAll img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar nofade=1 alt="Select all" ascent=20>
					<input type=button name=selectNone toolbar=1 width=60 height=20 xpar=#selectNone grayxpar=#selectNone img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar nofade=1 alt="Select none" ascent=20>
				</td>
			</tr>
			</table>
			
	</td>
</table>
<+d_dialog>
		<input type=button name=copy value="Copy" width=#dbw height=#dbh bgcolor=#colorSelection textcolor=#colorSelectionText>
		<img width=#ds>
		<input type=button name=ok value="Copy && Close" width=#dbw height=#dbh>
		<img width=#ds>
		<input type=button name=cancel value="Close" width=#dbw height=#dbh>
<+e_dialog>	
				
